<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ConstantsLookUp
 *
 * @author Ecky
 */
class ConstantsLookUp {

    /**
     * Job Statuses
     */
    public static $JOBSTATUS_WAITING_PUB    = 0;
    public static $JOBSTATUS_ACTIVE         = 1;
    public static $JOBSTATUS_REJECTED       = 2;
    public static $JOBSTATUS_WAITING_TRANS  = 3;
    public static $JOBSTATUS_CLOSED         = 4;
    private static $_jobStatuses = array(
        0 => "Menunggu verifikasi publikasi",
        1 => "Aktif",
        2 => "Ditolak",
        3 => "Menunggu verifikasi transaksi",
        4 => "Ditutup",
    );
    public static function getJobStatus($status) {
        return self::$_jobStatuses[$status];
    }

    public static $APPSTATUS_WAITING    = 0;
    public static $APPSTATUS_APPROVED   = 1;
    public static $APPSTATUS_REJECTED   = 2;
    private static $_applicationStatuses = array(
        0 => 'Menunggu',
        1 => 'Diterima',
        2 => 'Ditolak'
    );
    public static function getApplicationStatus($status) {
        return self::$_applicationStatuses[$status];
    }
}
?>
